package com.fyzk.activity.lottery.recommend_order;

import com.fyzk.utils.StringUtils;

import java.io.Serializable;

public class RankBean implements Serializable {

    /**
     * winCount : 8
     * hitRatio : 0.5
     * evenRed : 1
     * userno : 19090300010864
     * userName : 红果A
     * totalCount : 16
     * userPhotoUrl :
     * profitRatio : 1.2818
     */

    private int winCount;//中奖单子数量
    private double hitRatio;//命中率 需*100
    private int evenRed;//连红数
    private String userno;//编号
    private String userName;//用户名
    private int totalCount;//总单数
    private String userPhotoUrl;//头像
    private String profitRatio;//盈利率 需*100
    /**
     * popularity : 172
     */
    private long popularity;//人气


    public int getWinCount() {
        return winCount;
    }

    public void setWinCount(int winCount) {
        this.winCount = winCount;
    }

    public double getHitRatio() {
        return hitRatio;
    }

    public void setHitRatio(double hitRatio) {
        this.hitRatio = hitRatio;
    }

    public int getEvenRed() {
        return evenRed;
    }

    public void setEvenRed(int evenRed) {
        this.evenRed = evenRed;
    }

    public String getUserno() {
        return userno;
    }

    public void setUserno(String userno) {
        this.userno = userno;
    }

    public String getUserName() {
        return StringUtils.formatBindMobile(userName);
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public String getUserPhotoUrl() {
        return userPhotoUrl;
    }

    public void setUserPhotoUrl(String userPhotoUrl) {
        this.userPhotoUrl = userPhotoUrl;
    }

    public String getProfitRatio() {
        return profitRatio;
    }

    public void setProfitRatio(String profitRatio) {
        this.profitRatio = profitRatio;
    }

    public long getPopularity() {
        return popularity;
    }

    public void setPopularity(long popularity) {
        this.popularity = popularity;
    }
}
